You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TDenseMtxVec Class > TDenseMtxVec Methods > AddScaled Method > TDenseMtxVec.AddScaled Method ([In] TMtxVec, [In] TCplx, int, int, int)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TDenseMtxVec.AddScaled Method ([In] TMtxVec, [In] TCplx, int, int, int)

Adds Vec elements [VecIndex]..[VecIndex+Len-1] to calling object elements [Index]..[Index+Len-1].

Syntax
C#
Visual Basic
public TMtxVec AddScaled([In] TMtxVec Vec, [In] TCplx aScale, int VecIndex, int Index, int Len);

In addition, the following formula is being used: 

result = result + aScale*Vec . 

An exception is raised if TMtxVecBase.ConditionCheckConditionCheckis true and array borders are overrun.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!